package com.example.hdwx.myapplication.eneity;

/**
 * Created by hdwx on 2017/2/10.
 */
/*
* 首页五个碎片*/
public class Api {
    public  String  PATH(int m){
        String SEARCH_PATH= "http://api.daydaycook.com.cn/daydaycook/server/recipe/search.do?currentPage="+m+"&pageSize=10";
        return SEARCH_PATH;
    }
    /*
    * 菜品和菜单的搜索*/
    String search_path="https://api.daydaycook.com.cn/daydaycook/website/list.html?name=菜单名";
//投票获取url 的数字
   //地址 https://api.daydaycook.com.cn/daydaycook/server/activity/share.do?id=15


    /*


  //自制经典小吃top5  url的数字
  https://api.daydaycook.com.cn/daydaycook/h5/recipe/recipedetail.do?id=39335


    /** 具体菜品制作的地址 获取id号即可*/
   String dishes_path= "https://api.daydaycook.com.cn/daydaycook/website/details.html?id=177173";

    //daydaycook碎片中顶部图片轮播api
    final String IMAGES="http://api.daydaycook.com.cn/daydaycook/server/ad/listAds.do";
    //食谱碎片的api接口，daydaycook碎片中每日新菜馆
    final String SEARCH_PATH= "http://api.daydaycook.com.cn/daydaycook/server/recipe/search.do?currentPage=0&pageSize=10";
    //daydaycook碎片中当红人气菜和美食全攻略的api
    final String RECOMMENDdAll_PATH="http://api.daydaycook.com.cn/daydaycook/recommend/queryRecommendAll.do";
    //优选碎片的Api  // TODO: 2017/2/10  优选碎片的Api  使用post请求数据测试
    final String GOODCHOICE_PATH="http://shop.daydaycook.com.cn/ecom/appserver/recomProduct/listProductByRecipe.do";
    public static final String GOODCHOICE_NEWEST="http://api.mglife.me/v2/home/0";

    public String getIMAGES() {
        return IMAGES;
    }

    public String getSEARCH_PATH() {
        return SEARCH_PATH;
    }

    public String getRECOMMENDdAll_PATH() {
        return RECOMMENDdAll_PATH;
    }

    public String getGOODCHOICE_PATH() {
        return GOODCHOICE_PATH;
    }

    public String getFOUND_IMAGE_PATH() {
        return FOUND_IMAGE_PATH;
    }

    public String getFOUND_PATH1() {
        return FOUND_PATH1;
    }

    public String getSHARE_PATH() {
        return SHARE_PATH;
    }

    //发现碎片图片轮播和煮要话题区的api
    public static final String FOUND_IMAGE_PATH="http://api.daydaycook.com.cn/daydaycook/recommend/getMoreThemeRecipe.do";
    //发现碎片煮要活动区Api
    public static final  String FOUND_PATH1="http://api.daydaycook.com.cn/daydaycook/server/activity/recommendList.do";
    //发现碎片煮艺分享家Api
    public static final  String SHARE_PATH="http://api.daydaycook.com.cn/daydaycook/server/pgc/recommend/getPGCRecommend.do?currentPage=0&pageSize=10";

}
